package com.lysj.merchant.desk.dto;

import com.lysj.admin.utils.validation.annotation.Max;
import com.lysj.admin.utils.validation.annotation.Min;
import com.lysj.admin.utils.validation.annotation.NotBlank;
import com.lysj.admin.utils.validation.annotation.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ Author ：drj.
 * @ Date  ：Created in 14:20 2019/3/11
 * @ Description: 餐桌查询dto
 **/
@Data
public class DeskAddDto {

    private String storeId; //门店id
    @NotBlank(message = "餐桌位置不能为空")
    private String deskRoomId;//桌台位置
    @NotBlank(message = "餐桌类型不能为空")
    private String deskTypeId;//桌台类型
    @Min(value = "0", message = "餐桌数量必须大于0")
    private Integer amount;//餐桌数量
    @NotBlank(message = "请输入餐桌前缀")
    private String prefix;//桌台前缀
    private String serialNumber;//桌台编号
    @Min(value = "0", message = "最低消费必须大于0")
    private BigDecimal minMoney;//最低消费
}
